<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <div th:replace="header::common"></div>
</head>
<body>
   <form action="/dept/update" method="post">
       <input type="hidden" th:value="${dept.id}" name="id">
       <div class="form-group">
           <label for="name">用户名</label>
           <input type="text" th:value="${dept.name}" class="form-control" id="name" name="name">
       </div>
       <input class="btn btn-primary" type="submit" value="更新">
   </form>
</body>
</html>